<?php
include("function.php");
mssql_select_db($mssql_database, $conn);
$sql="if not exists (select * from sysobjects where name='dzxt')
create table dzxt (
Number varchar(40),
Date varchar(40),
bfullname varchar(200),
summary varchar(256),
Total numeric(22, 10),
cash numeric(22, 10),
yh numeric(22, 10),
debt numeric(22, 10),
efullname varchar(66) null,
Vchcode numeric(10, 0),
etypeid varchar(25),
batch numeric(3, 0)
);
if exists(select * from sysobjects where name='dzxtt')
drop table dzxtt";
$sq=iconv("utf-8",'gbk',"$sql");
$query = mssql_query($sq);
?>
<html>
<head>
    <meta charset="UTF-8"  http-equiv="refresh" content="1; url=index.php">
  
  </head>
  <p>  初始化成功！一秒后返回 </p>
  <body>
 

</body>